File Filter Functions
A file filter function filters the files that are displayed to the user in a dialog box. You specify this function in thefileFilter
parameter of theSFGetFilePreview
,StandardGetFilePreview
, andCustomGetFilePreview
routines. If this parameter is notnil
,SFGetFilePreview
calls the function for each file to determine whether to display the file to the user. TheSFGetFilePreview
function supplies you with the information it receives from the File Manager'sGetFileInfo
routine (see Inside Macintosh: Files for more information).
Subtopics
- MyFileFilter